.class Lcn/domob/android/ads/F;
.super Ljava/lang/Object;
.source "SourceFile"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcn/domob/android/ads/F$a;
    }
.end annotation


# static fields
.field private static a:Lcn/domob/android/ads/H; = null

.field private static final j:I = 0xa


# instance fields
.field private b:Landroid/content/Context;

.field private c:Lcn/domob/android/ads/C;

.field private d:Lcn/domob/android/ads/E;

.field private e:I

.field private f:Z

.field private g:Z

.field private h:Z

.field private i:Z


# direct methods
.method static constructor <clinit>()V
    .locals 2

    new-instance v0, Lcn/domob/android/ads/H;

    const-class v1, Lcn/domob/android/ads/F;

    invoke-virtual {v1}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, v1}, Lcn/domob/android/ads/H;-><init>(Ljava/lang/String;)V

    sput-object v0, Lcn/domob/android/ads/F;->a:Lcn/domob/android/ads/H;

    return-void
.end method

.method constructor <init>(Landroid/content/Context;ILcn/domob/android/ads/E;)V
    .locals 2

    const/4 v1, 0x0

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    const/4 v0, 0x1

    iput-boolean v0, p0, Lcn/domob/android/ads/F;->f:Z

    iput-boolean v1, p0, Lcn/domob/android/ads/F;->g:Z

    iput-boolean v1, p0, Lcn/domob/android/ads/F;->h:Z

    iput-boolean v1, p0, Lcn/domob/android/ads/F;->i:Z

    iput-object p1, p0, Lcn/domob/android/ads/F;->b:Landroid/content/Context;

    iput p2, p0, Lcn/domob/android/ads/F;->e:I

    iput-object p3, p0, Lcn/domob/android/ads/F;->d:Lcn/domob/android/ads/E;

    return-void
.end method

.method constructor <init>(Landroid/content/Context;Lcn/domob/android/ads/E;)V
    .locals 1

    const/16 v0, 0xa

    invoke-direct {p0, p1, v0, p2}, Lcn/domob/android/ads/F;-><init>(Landroid/content/Context;ILcn/domob/android/ads/E;)V

    return-void
.end method

.method static synthetic a()Lcn/domob/android/ads/H;
    .locals 1

    sget-object v0, Lcn/domob/android/ads/F;->a:Lcn/domob/android/ads/H;

    return-object v0
.end method

.method static synthetic a(Lcn/domob/android/ads/F;)Z
    .locals 1

    iget-boolean v0, p0, Lcn/domob/android/ads/F;->g:Z

    return v0
.end method

.method static synthetic a(Lcn/domob/android/ads/F;Z)Z
    .locals 0

    iput-boolean p1, p0, Lcn/domob/android/ads/F;->h:Z

    return p1
.end method

.method private b()V
    .locals 2

    iget-object v0, p0, Lcn/domob/android/ads/F;->d:Lcn/domob/android/ads/E;

    if-eqz v0, :cond_0

    iget-boolean v0, p0, Lcn/domob/android/ads/F;->i:Z

    if-nez v0, :cond_0

    const/4 v0, 0x1

    iput-boolean v0, p0, Lcn/domob/android/ads/F;->i:Z

    sget-object v0, Lcn/domob/android/ads/F;->a:Lcn/domob/android/ads/H;

    const-string v1, "Callback success"

    invoke-virtual {v0, p0, v1}, Lcn/domob/android/ads/H;->a(Ljava/lang/Object;Ljava/lang/String;)V

    iget-object v0, p0, Lcn/domob/android/ads/F;->d:Lcn/domob/android/ads/E;

    iget-object v1, p0, Lcn/domob/android/ads/F;->c:Lcn/domob/android/ads/C;

    invoke-interface {v0, v1}, Lcn/domob/android/ads/E;->a(Lcn/domob/android/ads/C;)V

    :cond_0
    return-void
.end method

.method static synthetic b(Lcn/domob/android/ads/F;)V
    .locals 0

    invoke-direct {p0}, Lcn/domob/android/ads/F;->c()V

    return-void
.end method

.method static synthetic b(Lcn/domob/android/ads/F;Z)Z
    .locals 0

    iput-boolean p1, p0, Lcn/domob/android/ads/F;->g:Z

    return p1
.end method

.method private c()V
    .locals 2

    iget-object v0, p0, Lcn/domob/android/ads/F;->d:Lcn/domob/android/ads/E;

    if-eqz v0, :cond_0

    iget-boolean v0, p0, Lcn/domob/android/ads/F;->i:Z

    if-nez v0, :cond_0

    const/4 v0, 0x1

    iput-boolean v0, p0, Lcn/domob/android/ads/F;->i:Z

    sget-object v0, Lcn/domob/android/ads/F;->a:Lcn/domob/android/ads/H;

    const-string v1, "Callback error"

    invoke-virtual {v0, p0, v1}, Lcn/domob/android/ads/H;->a(Ljava/lang/Object;Ljava/lang/String;)V

    iget-object v0, p0, Lcn/domob/android/ads/F;->d:Lcn/domob/android/ads/E;

    iget-object v1, p0, Lcn/domob/android/ads/F;->c:Lcn/domob/android/ads/C;

    invoke-interface {v0, v1}, Lcn/domob/android/ads/E;->b(Lcn/domob/android/ads/C;)V

    :cond_0
    return-void
.end method

.method static synthetic c(Lcn/domob/android/ads/F;)V
    .locals 0

    invoke-direct {p0}, Lcn/domob/android/ads/F;->b()V

    return-void
.end method

.method static synthetic d(Lcn/domob/android/ads/F;)I
    .locals 1

    iget v0, p0, Lcn/domob/android/ads/F;->e:I

    return v0
.end method

.method static synthetic e(Lcn/domob/android/ads/F;)Z
    .locals 1

    iget-boolean v0, p0, Lcn/domob/android/ads/F;->h:Z

    return v0
.end method

.method static synthetic f(Lcn/domob/android/ads/F;)Z
    .locals 1

    iget-boolean v0, p0, Lcn/domob/android/ads/F;->f:Z

    return v0
.end method

.method static synthetic g(Lcn/domob/android/ads/F;)Lcn/domob/android/ads/C;
    .locals 1

    iget-object v0, p0, Lcn/domob/android/ads/F;->c:Lcn/domob/android/ads/C;

    return-object v0
.end method

.method static synthetic h(Lcn/domob/android/ads/F;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcn/domob/android/ads/F;->b:Landroid/content/Context;

    return-object v0
.end method


# virtual methods
.method protected a(Lcn/domob/android/ads/C;Ljava/lang/String;Ljava/lang/String;)V
    .locals 6

    iput-object p1, p0, Lcn/domob/android/ads/F;->c:Lcn/domob/android/ads/C;

    new-instance v0, Lcn/domob/android/ads/F$1;

    invoke-direct {v0, p0}, Lcn/domob/android/ads/F$1;-><init>(Lcn/domob/android/ads/F;)V

    invoke-virtual {p1, v0}, Lcn/domob/android/ads/C;->setWebViewClient(Landroid/webkit/WebViewClient;)V

    sget-object v0, Lcn/domob/android/ads/F;->a:Lcn/domob/android/ads/H;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "load URL time: "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v2

    invoke-virtual {v1, v2, v3}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, p0, v1}, Lcn/domob/android/ads/H;->a(Ljava/lang/Object;Ljava/lang/String;)V

    new-instance v0, Lcn/domob/android/ads/F$a;

    invoke-direct {v0, p0}, Lcn/domob/android/ads/F$a;-><init>(Lcn/domob/android/ads/F;)V

    invoke-virtual {v0}, Lcn/domob/android/ads/F$a;->start()V

    if-nez p3, :cond_0

    sget-object v0, Lcn/domob/android/ads/F;->a:Lcn/domob/android/ads/H;

    const-string v1, "Load URL."

    invoke-virtual {v0, p0, v1}, Lcn/domob/android/ads/H;->a(Ljava/lang/Object;Ljava/lang/String;)V

    invoke-virtual {p1, p2}, Lcn/domob/android/ads/C;->loadUrl(Ljava/lang/String;)V

    :goto_0
    return-void

    :cond_0
    sget-object v0, Lcn/domob/android/ads/F;->a:Lcn/domob/android/ads/H;

    const-string v1, "Load data with base URL."

    invoke-virtual {v0, p0, v1}, Lcn/domob/android/ads/H;->a(Ljava/lang/Object;Ljava/lang/String;)V

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v0, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, "/"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    const-string v3, "text/html"

    const-string v4, "UTF-8"

    const/4 v5, 0x0

    move-object v0, p1

    move-object v2, p3

    invoke-virtual/range {v0 .. v5}, Lcn/domob/android/ads/C;->loadDataWithBaseURL(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_0
.end method

.method protected a(Lcn/domob/android/ads/C;Ljava/lang/String;Ljava/lang/String;Z)V
    .locals 0

    iput-boolean p4, p0, Lcn/domob/android/ads/F;->f:Z

    invoke-virtual {p0, p1, p2, p3}, Lcn/domob/android/ads/F;->a(Lcn/domob/android/ads/C;Ljava/lang/String;Ljava/lang/String;)V

    return-void
.end method
